package com.sdhs.analyze.dao.nodestatustrace;
import com.sdhs.analyze.bean.InfoNodeStatus;
import com.sdhs.analyze.bean.InfoNodeStatusTrace;
import com.sdhs.analyze.bean.network.NetWork;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface NodeStatusTraceMapper {

    int insertNodeStatusTraceHistory(InfoNodeStatusTrace nodeStatusTrace);

    int insertNodeStatusTrace(InfoNodeStatusTrace nodeStatusTrace);

    int deleteNodeStatusTrace(InfoNodeStatusTrace nodeStatusTrace);

    List<InfoNodeStatusTrace> selectNodeStatusTraceByGantryBackId(String orgId);

    int updateWarnFlag(InfoNodeStatusTrace nodeStatusTrace);
}
